dart store unique values

60

 var ids = [1, 4, 4, 4, 5, 6, 6];
 var distinctIds = ids.toSet().toList();

Comments

Submit
0 Comments